[PATCH] Allow using external builds of the compiler-rt profile lib
authorJosh Stone <jistone@redhat.com>
Tue, 25 Jul 2023 20:11:50 +0000 (13:11 -0700)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Sat, 4 May 2024 11:38:10 +0000 (13:38 +0200)
commit882c5bbb96887f7ae7e08f9f71bcb50b7b6c06c9
treecde23d21d91e4409fd4cf3d06adff2bddf3a4fba
parent4438e3c3f61d5724479666ef78a9a0b3b21305eb
[PATCH] Allow using external builds of the compiler-rt profile lib

This changes the bootstrap config `target.*.profiler` from a plain bool
to also allow a string, which will be used as a path to the pre-built
profiling runtime for that target. Then `profiler_builtins/build.rs`
reads that in a `LLVM_PROFILER_RT_LIB` environment variable.

Gbp-Pq: Name u-profiler.patch
config.example.toml
library/profiler_builtins/build.rs
src/bootstrap/compile.rs
src/bootstrap/config.rs